<template>

  <div class="card">
    <div class="card-body">
      <div align="left" class="h5">公告</div>
      <div style="height: 80px;overflow-y: scroll">
        <div >
          {{ notice.content }}
        </div>
      </div>
    </div>
  </div>

</template>

<script>

import service from "@/utils/axios";
    export default {
        name: "Notice",
        data(){
          return{
            notice: {}
          }
        },
        created() {
          service.get("/selectAnnouncement").then(data => {
            this.notice = data.data.data
          });
        }
    }

</script>

<style scoped>

</style>
